package com.tiancheng.onecode.mapper;

import com.tiancheng.onecode.entity.Role;
import com.tiancheng.onecode.entity.UserRole;
import com.tiancheng.onecode.model.response.admin.PlatformMerchantUserRoleQueryRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: kellen
 * @Description: B端用户角色关联管理 mapper
 * @Date: create in 2024/12/9 18:11
 */
@Mapper
public interface UserRoleMapper extends MYBaseMapper<UserRole> {
    /**
     * 使用用户id集合查询角色列表
     * @return
     */
    List<PlatformMerchantUserRoleQueryRes> queryByPmuIds(@Param("pmuIds") List<Long> pmuIds);

}
